package org.fall.service;

import org.entity.Admin;

import java.util.List;


public interface AdminService {
    public void saveAdmin(Admin admin);

    public List<Admin> getAll();

    public Admin getAdminByLoginAcct(String loginUser, String loginPwd);
    public Admin getAdminByLoginAccts(String loginUser);

    public List<Admin> getPageInfoByKeyword(String keyword);

    public void removeAdmin(Integer adminId);

    public Admin getAllByAdminId(Integer adminId);

    public void update(Admin admin);

    public void saveAdminRoleRelationship(Integer adminId, List<Integer> roleIdList);
}
